class DeviceFeature < ActiveRecord::Base
    belongs_to :feature
    belongs_to :device
    
    def get_ts
      self.qty.to_f*self.feature.cost.to_f
    end
end
